import axios from 'axios';

let Request = (params) => {
    return new Promise((resolve, reject) => {
        axios({
            ...params
        }).then(res => {
            resolve(res)
        }).catch(err => {
            reject(err)
        })
    })
}

export { Request }